#------------------------------------------------------------------------------
# Project:     ballandpaddlegame (midterm)
# Name:        Ball.py
# Purpose:     Bouncing Ball Object
# 
# Authors:     Matthew Hahn
# Main Author: Matthew Hahn
#
# Created:     1/15/2013
# Copyright:   (c) Matthew Hahn 2012
# Licence:     New BSD
#------------------------------------------------------------------------------
import pygame, math, sys, random

class GameOver():
    def __init__(self, images, speed):
        self.surfaces = []
        for image in images:
            self.surfaces += [pygame.image.load("rsc/GO/GameOver.png")]
        self.frame = 0
        self.surface = self.surfaces[self.frame]
        self.rect = self.surface.get_rect()
        self.radius = self.rect.width/2
        self.speed = speed
        self.living = True

        
    def  __str__(self):
        return "I'm a ball " + str(self.rect.center) + str(self.speed) + str(self.living)
     
    def place(self, position):
        print "I've moved to", position
        self.rect = self.rect.move(position)
        #Taken from ball.py in balldemo